package com.zrrd.learn.chapter08面向对象.objectoriented01;

/**
 * 4题测试类
 *
 * @author wrn
 * @version 1.0
 * @date 2023/7/24 21:49
 */

public class Test04 {

    public static void main(String[] args) {
        Car c=new Car(6, "蓝色", 2000, 50, "空调", "cd");
        c.rewrite(4, "绿色", 1000, 80);
        c.jiansu();
    }
}
